package com.googlecode.sftpant;

import me.kolovos.sftpant.SftpCommand;

public class RenameCommand extends SftpCommand {

	protected String from;
	protected String to;
	
	@Override
	public void execute() throws Exception {
		channel.rename(from, to);
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}
	
}
